package org.kongqian.productmanager.service.impl;

import org.kongqian.productmanager.domain.ProductType;
import org.kongqian.productmanager.mapper.ProductTypeMapper;
import org.kongqian.productmanager.service.IProductTypeService;
import org.kongqian.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author kq
 * @since 2022-10-21
 */
@Service
public class ProductTypeServiceImpl extends BaseServiceImpl<ProductType> implements IProductTypeService {

    @Autowired
    private ProductTypeMapper productTypeMapper;
    @Override
    public List<ProductType> getProductType() {
        return productTypeMapper.getProductType();
    }

    @Override
    public void batchDelete(List<Long> ids) {
        productTypeMapper.batchDelete(ids);
    }
}
